import React from 'react';
import { Layout } from 'antd';
import '../less/index.less';
import Top from './Top';
import Main from './Main';
import CfgDialog from './CfgDialog';

const { Content, Header } = Layout;

function Root() {
  return (
    <Layout className='layout'>
      <Header className='header'><Top/></Header>
      <Content><Main/></Content>
      <CfgDialog/>
    </Layout>
  );
}

export default Root;
